package com.mdd.admin.validate.yylq;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import java.util.Date;
import java.util.Date;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 轮播图参数
 * @author LikeAdmin
 */
@Data
@ApiModel("轮播图更新参数")
public class TAppBannerUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Integer id;

    @NotNull(message = "picUrl参数缺失")
    @ApiModelProperty(value = "图片地址")
    private String picUrl;

    @NotNull(message = "sort参数缺失")
    @ApiModelProperty(value = "")
    private Integer sort;

    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "类型")
    private Integer type;

    @NotNull(message = "showType参数缺失")
    @ApiModelProperty(value = "展示类型")
    private Integer showType;

}
